The Ghost in the Model (and Other Effects of Floating Point Arithmetic)

نویسندگان

  • J. Gareth Polhill
  • Luis R. Izquierdo
  • Nicholas Mark Gotts
چکیده

Bistromathics … is … a revolutionary new way of understanding the behaviour of numbers. … Numbers written on restaurant bill pads within the confines of restaurants do not follow the same mathematical laws as numbers written on any other pieces of paper in any other part of the Universe. 1 Introduction This paper will explore the effects of errors in floating point arithmetic in two published agent-based models: the first a model of land use change (Polhill et al., 2001; Gotts et al., in press), the second a model of the stock market (LeBaron et al., 1999). The first example demonstrates how branching statements with floating point operands of comparison operators create a high degree of nonlinearity, leading in this case to the creation of 'ghost' agents — visible to some parts of the program but not to others. A potential solution to this problem is proposed. The second example shows how mathematical descriptions of models in the literature are insufficient to enable exact replication of work since mathematically equivalent implementations in terms of real number arithmetic are not equivalent in terms of floating point arithmetic. (Henceforth 'mathematics' and 'arithmetic' will refer to the use of real numbers by default.) 2 A model of land use change The following describes the set up of a model of land use change that has emergent effects arising from errors in floating point arithmetic. The model is based on a particular parameterisation, P, of FEARLUS (Framework for Evaluation and Assessment of Regional Land Use Scenarios), described in Polhill et al. (2001) and Gotts et al. (in press). In what follows, terms referring to objects in the model are capitalised, and italicised on first use. FEARLUS consists of a set of Land Parcels arranged on a 2D grid of squares, each of which is assigned a Land Use by Land Managers (the agents in the model) using a Land Use Selection Algorithm each Year (a cycle in the model). After Land Uses have been assigned, the Yield from each Land Parcel is calculated according to the Land Use selected, and this is used to derive an amount of Wealth accrued by the Land Manager owning the Land Parcel. This is followed by a process of exchange of Land Parcels between Land Managers. Those Land Managers with negative Wealth put up enough Land Parcels for sale to bring their Wealth to zero or more. Once …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ASIC Design of Butterfly Unit Based on Non-Redundant and Redundant Algorithm

Fast Fourier Transform (FFT) processors employed with pipeline architecture consist of series of Processing Elements (PE) or Butterfly Units (BU). BU or PE of FFT performs multiplication and addition on complex numbers. This paper proposes a single BU to compute radix-2, 8 point FFT in the time domain as well as frequency domain by replacing a series of PEs. This BU comprises of fused floating ...

متن کامل

Dynamical ‎C‎ontrol of Computations Using the Family of Optimal Two-point Methods to Solve Nonlinear ‎Equations

One of the considerable discussions for solving the nonlinear equations is to find the optimal iteration, and to use a proper termination criterion which is able to obtain a high accuracy for the numerical solution. In this paper, for a certain class of the family of optimal two-point methods, we propose a new scheme based on the stochastic arithmetic to find the optimal number of iterations in...

متن کامل

Fixed-point FPGA Implementation of a Kalman Filter for Range and Velocity Estimation of Moving Targets

Tracking filters are extensively used within object tracking systems in order to provide consecutive smooth estimations of position and velocity of the object with minimum error. Namely, Kalman filter and its numerous variants are widely known as simple yet effective linear tracking filters in many diverse applications. In this paper, an effective method is proposed for designing and implementa...

متن کامل

A MILP Model for Coordinated Charging of Electric Vehicles in Smart Unbalanced LV Distribution Networks Using Floating Charge Method

In this paper, a mixed-integer linear programming (MILP) model is proposed to solve the charging problem of electric vehicles (EVs) using floating charge method meaning that the EV, could be supplied by each of the three phases connected to a special bus. In other words, unlike a usual household load which is only supplied by a particular phase, in the floating charge method it is assumed that ...

متن کامل

Analysis of the GCR method with mixed precision arithmetic using QuPAT

To verify computation results of double precision arithmetic, a high precision arithmetic environment is needed. However, it is difficult to use high precision arithmetic in ordinary computing environments without any special hardware or libraries. Hence, we designed the quadruple precision arithmetic environment QuPAT on Scilab to satisfy the following requirements: (i) to enable programs to b...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • J. Artificial Societies and Social Simulation

دوره 8  شماره 

صفحات  -

تاریخ انتشار 2005